package com.itheima.service;

import com.itheima.dto.OrderSettingDTO;
import com.itheima.pojo.OrderSetting;
import com.itheima.vo.OrderSettingVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;

public interface OrderSettingService {
    /**
     * 导出运营数据
     * @param response
     */
    void exportBusinessData(HttpServletResponse response,String filename);

    /**
     * 根据日期修改可预约人数
     * @param orderSettingDTO
     */
    void updateNumberByOrderDate(OrderSettingDTO orderSettingDTO);

    /**
     *根据年月查询对应的预约设置信息
     * @param month
     * @return
     */
    List<OrderSettingVO> getOrderInfoByMonth(String month) throws Exception;

    /**
     * 文件上传
     * @param excelFile
     */
    void upload(MultipartFile excelFile);
}
